﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package reprise.css.propertyparsers {
    import reprise.css.*;

    public class Padding extends CSSPropertyParser {

        public static const KNOWN_PROPERTIES:Object = {padding:{parser:parsePadding}, paddingTop:{parser:strToIntProperty}, paddingRight:{parser:strToIntProperty}, paddingBottom:{parser:strToIntProperty}, paddingLeft:{parser:strToIntProperty}};

        public static var TRANSITION_SHORTCUTS:Object = {padding:["paddingTop", "paddingRight", "paddingBottom", "paddingLeft"]};

        public static function parsePadding(_arg1:String, _arg2:String):CSSParsingResult{
            return (strToRectParsingResult(_arg1, _arg2, "padding", "", strToIntProperty));
        }

    }
}//package reprise.css.propertyparsers 
